#pragma once
// -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
//   File Name: context_client.h
// Description: ContextClient Class
//      Author: Ziming Li
//     Created: 2022-04-29
// -------------------------------------------------
// Copyright (C) 2022 MingYang Software Technology.
// -------------------------------------------------

#ifndef BLINKIT_CONTEXT_CLIENT_H
#define BLINKIT_CONTEXT_CLIENT_H

#include "third_party/quickjs/quickjs.h"

namespace BlinKit {

class ContextClient
{
public:
    virtual void ContextReady(JSContext *ctx) = 0;
    virtual void ContextDestroy(JSContext *ctx) {}
};

} // namespace BlinKit

#endif // BLINKIT_CONTEXT_CLIENT_H
